package edu.zut.cs.network;

public class Caaa {
	public int num1,num2;
	public Caaa() {
		num1=num2=1;
	}
	public Caaa(int a,int b) {
		num1=a;
		num2=b;
	}
	void display() {
		System.out.println("printed from Caaa class");
	} 
	public float getNum(){
    return 3.0f;
    }  
	public class J_Sub extends Caaa{
    //指定位置
	public float getNum(){return 4.0f;}
    }
}
